package com.luyu.service;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.groups.Default;
import org.springframework.validation.annotation.Validated;

/**
 * @author luYu
 */
@Validated(value = {Default.class})
public interface IMethodValidService {
    Object hello(@NotNull(message = "id") Integer id, @NotEmpty(message = "名称") String name);
}
